echo "remember to set the path to java3d dlls"

rem NOTE:
rem UPDATE THE J3D PATH BELOW!!
set J3D=C:\Program Files\Java\Java3D\1.5.1\



set J3D_LIB=%J3D%\lib\ext
set TEMP_PATH=%PATH%
set PATH=%J3D%\bin;%PATH%

cd src

javac -cp "..\lib\Simbad.jar;..\lib\Rescue.jar;%J3D_LIB%\j3dcore.jar;%J3D_LIB%\j3dutils.jar;%J3D_LIB%\vecmath.jar;."    rescue\MyRescueRobot.java
javac -cp "..\lib\Simbad.jar;..\lib\Rescue.jar;%J3D_LIB%\j3dcore.jar;%J3D_LIB%\j3dutils.jar;%J3D_LIB%\vecmath.jar;."    rescue\Main.java

cd ..

set PATH=%TEMP_PATH%